export function replaceKeys(obj: any, keysMap: any) {
    const newObj = {};
    for (const [oldKey, newKey] of Object.entries(keysMap)) {
      if (obj.hasOwnProperty(oldKey)) {
        newObj[newKey] = obj[oldKey];
      }
    }
    // 遍历剩余的未映射属性
    for (const key in obj) {
      if (!keysMap[key] && obj.hasOwnProperty(key)) {
        newObj[key] = obj[key];
      }
    }
    return newObj;
  }